package com.examination.dao.staffModel;

import com.examination.entity.Department;
import sun.rmi.log.LogInputStream;

import java.util.List;
import java.util.Map;
/**
 * @author DYF
 */
public interface DepartmentDao {
    //增加部门信息
    int InsertDepartment(Map map);

    //删除部门信息
    int DeleteDepartment(Map map);

    //修改部门信息
    int UpdateDepartment(Map map);

    //分页模糊查询部门信息
    List<Department> FindDepartmentByPage(Map map);

    //统计总数
    long Total(Map map);

    //下拉框查询部门信息
    List<Department> SelectDepartment(Map map);

    //根据部门名称查询部门信息
    Department FindDepartmentByName(Map map);
}
